<#include "/common/taglibs.ftl" />
<meta name="decorator" content="simple"/>
<title><@spring.message code="${entityName!}" /> - <@spring.message code="list" /></title>
<page-script>
<script type="text/javascript">
    function refreshTree() {
        parent.frames['treeFrame'].location.reload();
    }
</script>
</page-script>

<#global tips = springMacroRequestContext.getMessage('tree.tips.success.click.to.refresh')/>
<#global btn = springMacroRequestContext.getMessage('tree.btn.refresh')/>

<#global refreshInfo="<br/><br/><p>"+tips+"&nbsp;<a class='btn btn-danger' onclick='refreshTree();'>"+btn+"</a></p>">  
<@showMessage detail=refreshInfo/>
